From 72a80b66f979cce2318e0b4c1df1fae7175b4d2c Mon Sep 17 00:00:00 2001 From: Daniel Jones Date: Wed, 26 Aug 2020 07:55:11 +0930 Subject: added roms and changed readme --- roms/demos/Maze (alt) [David Winter, 199x].txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 roms/demos/Maze (alt) [David Winter, 199x].txt (limited to 'roms/demos/Maze (alt) [David Winter, 199x].txt') diff --git a/roms/demos/Maze (alt) [David Winter, 199x].txt b/roms/demos/Maze (alt) [David Winter, 199x].txt new file mode 100644 index 0000000..2cdef41 --- /dev/null +++ b/roms/demos/Maze (alt) [David Winter, 199x].txt @@ -0,0 +1,12 @@ +Maze, by David Winter + +Drawing a random maze like this one consists in drawing random diagonal +lines. There are two possibilities: right-to-left line, and left-to-right +line. Each line is composed of a 4*4 bitmap. As the lines must form non- +circular angles, the two bitmaps won't be '/' and '\'. The first one +(right line) will be a little bit modified. See at the end of this source. + +The maze is composed of 16 lines (as the bitmaps are 4 pixels high), each +line consists of 32 bitmaps. +Bitmaps are drawn in random mode. We choose a random value (0 or 1). +If it is 1, we draw a left line bitmap. If it is 0, we draw a right one. -- cgit v1.2.3